print("22222")
print("8888888")
print("11111")
print(2222)